#ifndef DIALOGDEVICESELECT_H
#define DIALOGDEVICESELECT_H

#include <QDialog>
#include <devicewidget.h>
#include <QVBoxLayout>
#include <QLabel>
#include <QCheckBox>
#include <QScrollBar>
#include <target.h>

namespace Ui {
class DialogDeviceSelect;
}

class DialogDeviceSelect : public QDialog
{
    Q_OBJECT

public:
    explicit DialogDeviceSelect(QWidget *parent = nullptr);
    ~DialogDeviceSelect();
    void setSelections(QVector<Target*>* pDevices);


signals:
    void selected(QVector<Target> devicelist);

private:
    Ui::DialogDeviceSelect *ui;
    QVector<Target*>* pDeviceArray;
};

#endif // DIALOGDEVICESELECT_H
